# $Id: PKGBUILD 65900 2012-02-22 13:29:09Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-net-telnet
pkgver=3.03
pkgrel=5
pkgdesc="Perl/CPAN Module Net::Telnet : Interact with TELNET port or other TCP ports"
arch=("any")
url="http://search.cpan.org/dist/Net-Telnet"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/J/JR/JROGERS/Net-Telnet-3.03.tar.gz")
md5sums=('2f7d34b09d6117baefe89d44cff9d5fc')

build() {
  cd $srcdir/Net-Telnet-3.03
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
